<!DOCTYPE html>
<!-- saved from url=(0043)https://mybatis.org/mybatis-3/zh/index.html -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Clinton Begin">
    <meta name="author" content="Nan Lei">
    <meta name="author" content="Dongxu Wang">
    <meta name="Date-Revision-yyyymmdd" content="20200309">
    <meta http-equiv="Content-Language" content="zh">
    <title>mybatis – MyBatis 3 | 简介</title>
    <link rel="stylesheet" href="./mybatis – MyBatis 3 _ 简介_files/apache-maven-fluido-1.7.min.css">
    <link rel="stylesheet" href="./mybatis – MyBatis 3 _ 简介_files/site.css">
    <link rel="stylesheet" href="./mybatis – MyBatis 3 _ 简介_files/print.css" media="print">
    <script type="text/javascript" src="./mybatis – MyBatis 3 _ 简介_files/apache-maven-fluido-1.7.min.js.下载"></script>
  </head>
  <body class="topBarDisabled">
    <div class="container-fluid">
      <div id="banner">
        <div class="pull-left"><div id="bannerLeft"><h2>mybatis</h2>
</div>
</div>
        <div class="pull-right"><a href="https://mybatis.org/" id="bannerRight" title="MyBatis logo"><img src="./mybatis – MyBatis 3 _ 简介_files/mybatis-logo.png" alt="MyBatis logo"></a></div>
        <div class="clear"><hr></div>
      </div>

      <div id="breadcrumbs">
        <ul class="breadcrumb">
        <li id="publishDate">最近更新: 09 三月 2020<span class="divider">|</span>
</li>
          <li id="projectVersion">版本: 3.5.4</li>
        </ul>
      </div>
      <div class="row-fluid">
        <div id="leftColumn" class="span2">
          <div class="well sidebar-nav">
    <ul class="nav nav-list">
      <li class="nav-header">参考文档</li>
    <li class="active"><a href="https://mybatis.org/mybatis-3/zh/index.html#"><span class="none"></span>简介</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/getting-started.html" title="入门"><span class="none"></span>入门</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/configuration.html" title="XML 配置"><span class="icon-chevron-right"></span>XML 配置</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/sqlmap-xml.html" title="XML 映射文件"><span class="icon-chevron-right"></span>XML 映射文件</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/dynamic-sql.html" title="动态 SQL"><span class="none"></span>动态 SQL</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/java-api.html" title="Java API"><span class="icon-chevron-right"></span>Java API</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/statement-builders.html" title="SQL 语句构建器"><span class="none"></span>SQL 语句构建器</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/logging.html" title="日志"><span class="none"></span>日志</a></li>
      <li class="nav-header">项目文档</li>
    <li><a href="https://mybatis.org/mybatis-3/zh/project-info.html" title="项目信息"><span class="icon-chevron-right"></span>项目信息</a></li>
    <li><a href="https://mybatis.org/mybatis-3/zh/project-reports.html" title="项目报表"><span class="icon-chevron-right"></span>项目报表</a></li>
</ul>
          <hr>
          <div id="poweredBy">
            <div class="clear"></div>
            <div class="clear"></div>
            <div class="clear"></div>
            <div class="clear"></div>
<a href="http://maven.apache.org/" title="构建依靠 Maven" class="poweredBy"><img class="builtBy" alt="构建依靠 Maven" src="./mybatis – MyBatis 3 _ 简介_files/maven-feather.png"></a>
            </div>
          </div>
        </div>
        <div id="bodyColumn" class="span10">


  
    <div class="section">
<h2><a name="a.E7.AE.80.E4.BB.8B"></a>简介</h2>
      
<div class="section">
<h3><a name="a.E4.BB.80.E4.B9.88.E6.98.AF_MyBatis.EF.BC.9F"></a>什么是 MyBatis？</h3>
        
<p>MyBatis 是一款优秀的持久层框架，它支持自定义 SQL、存储过程以及高级映射。MyBatis
        免除了几乎所有的 JDBC 代码以及设置参数和获取结果集的工作。MyBatis
        可以通过简单的 XML 或注解来配置和映射原始类型、接口和 Java POJO（Plain Old
        Java Objects，普通老式 Java 对象）为数据库中的记录。</p>
      </div>

      
<div class="section">
<h3><a name="a.E5.B8.AE.E5.8A.A9.E6.94.B9.E8.BF.9B.E6.96.87.E6.A1.A3..."></a>帮助改进文档...</h3>
        
<p>如果你发现文档有任何的遗漏，或缺少某一个功能点的说明，最好的解决办法是先自己学习，然后为遗漏的部份补上相应的文档。</p>
        
<p>该文档 xdoc 格式的源码文件可通过<a class="externalLink" href="https://github.com/mybatis/mybatis-3/tree/master/src/site">项目的
        Git 代码库</a>来获取。复刻该源码库，作出更新，并提交 Pull Request 吧。</p>
        
<p>还有其他像你一样的人都需要阅读这份文档，而你，就是这份文档最好的作者。
        </p>
      </div>

      
<div class="section">
<h3><a name="a.E6.96.87.E6.A1.A3.E7.9A.84.E7.BF.BB.E8.AF.91.E7.89.88.E6.9C.AC"></a>文档的翻译版本</h3>
        
<p>您可以阅读 MyBatis 文档的其他语言版本：</p>
        
<ul class="i18n">
          
<li class="en"><a href="https://mybatis.org/mybatis-3/index.html">English</a></li>
          
<li class="es"><a href="https://mybatis.org/mybatis-3/es/index.html">Español</a></li>
          
          
<li class="ja"><a href="https://mybatis.org/mybatis-3/ja/index.html">日本語</a></li>
          
<li class="ko"><a href="https://mybatis.org/mybatis-3/ko/index.html">한국어</a></li>
          
<li class="zh"><a href="https://mybatis.org/mybatis-3/zh/getting-started.html">简体中文</a></li>
        </ul>
        
<p>想用你的母语来了解 MyBatis 吗？那就将文档翻译成你的母语并提供给我们吧！</p>
      </div>
    </div>
  


        </div>
      </div>
    </div>
    <hr>
    <footer>
      <div class="container-fluid">
        <div class="row-fluid">
            <p>Copyright ©2009–2020
<a href="http://www.mybatis.org/">MyBatis.org</a>.
All rights reserved.</p>
        </div>
      </div>
    </footer>
  

<div class="xl-chrome-ext-bar" id="xl_chrome_ext_{4DB361DE-01F7-4376-B494-639E489D19ED}" style="display: none;">
      <div class="xl-chrome-ext-bar__logo"></div>

      <a id="xl_chrome_ext_download" href="javascript:;" class="xl-chrome-ext-bar__option">下载视频</a>
      <a id="xl_chrome_ext_close" href="javascript:;" class="xl-chrome-ext-bar__close"></a>
    </div></body></html>